package Demo3;

public class Main20 {
    public static void main(String[] args) throws InterruptedException {
        Thread t=new Thread(()->{
           while(true){
           }
        });
        t.start();
        t.join();
    }
}
